/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package idea.model.powersearch;


import org.openide.nodes.AbstractNode;
import org.openide.nodes.Children;
import org.openide.util.NbBundle;
import static idea.model.powersearch.Bundle.*;
import java.util.List;
import javax.swing.Action;
import org.openide.util.Utilities;


/**
 *
 * @author rejun001
 */
public class QTSearchResultsRootNode extends AbstractNode
{

    @NbBundle.Messages("CTRL_RootName=question_title_search_view")
    public QTSearchResultsRootNode( Children children )
    {
        super( children );
        setDisplayName(CTRL_RootName());
    }


    @Override
    public Action[] getActions( boolean context )
    {
        List<? extends Action> actionsForQuestionTitleSearchView = Utilities.actionsForPath( "Actions/QuestionTitleSearchView");
        return actionsForQuestionTitleSearchView.toArray(new Action[actionsForQuestionTitleSearchView.size()]);
    }
    
    
    
}
